package model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

@Data
@TableName(value = "user_info")
public class UserInfo implements Serializable {
    /**
     * 用户id
     */
    @TableId(value = "user_id", type = IdType.AUTO)
    private Integer userId;

    @TableField(value = "user_name")
    private String userName;

    /**
     * 用户密码
     */
    @TableField(value = "user_pass")
    private String userPass;

    /**
     * 用户性别
     */
    @TableField(value = "user_sex")
    private String userSex;

    /**
     * 用户年龄
     */
    @TableField(value = "user_age")
    private Integer userAge;

    private static final long serialVersionUID = 1L;

    public static final String COL_USER_ID = "user_id";

    public static final String COL_USER_NAME = "user_name";

    public static final String COL_USER_PASS = "user_pass";

    public static final String COL_USER_SEX = "user_sex";

    public static final String COL_USER_AGE = "user_age";
}